package com.xq.chrome.web.other.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties("server")
@Configuration
public class ServerConfig {
  String port;
  String contextPath;
  public String getPort() {
    return port;
  }

  public void setPort(String port) {
    this.port = port;
  }

  public String getContextPath() {
    return contextPath;
  }

  public void setContextPath(String contextPath) {
    this.contextPath = contextPath;
  }


  public ServerConfig() {
  }

  @Override
  public String toString() {
    return "ServerConfig{" +
        "port='" + port + '\'' +
        ", contextPath='" + contextPath + '\'' +
        '}';
  }
}
